<?php
include_once '../tools/common.php';
include_once '../tools/DbTools.php';
$is_login = getLoginStatus();
if(!$is_login){
    echo '尚未登入，<a href="adminloginUi.php">请登入</a>';
    die;
}else{
    session_start();
    $usreInfo = $_SESSION[$_COOKIE['Token']];
    $realName = $usreInfo['uesrname'];
}

?>

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>管理员中心</title>
</head>
<body>
<h3>欢迎您，<?php echo $realName;?><a href="adminoutAction.php">退出</a></h3>
<ul>
    <li><a href="../open/theopenbank.php">开户</a></li>
    <li><a href="../open/theopencard.php">开卡</a></li>
    <li><a href="../open/userlistAll.php">用户列表</a></li>
</ul>

</body>
</html>
